import {Message} from 'element-ui'
import {dateFormat} from "@/utils/utils";

export function checkTime() {
  let hour = dateFormat(new Date(),'hh');
  console.log("hour:",hour);
  hour = parseInt(hour);
  if(hour>=16&&hour<=23){
    return true;
  }else{
    Message.error('医保系统只允许在【16:00-24:00】进行对账业务接口调用');
    return false;
  }
}
